package com.hooper.wallet.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName transact_record
 */
@TableName(value = "transact_record")
@Data
public class TransactRecord implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Integer transactType;

    private Integer amount;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer disabled;

    private static final long serialVersionUID = 1L;
}